<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/panel.css" type="text/css" />
<link rel="stylesheet" path="<?php echo Yii::app()->theme->baseUrl; ?>/css/" type="text/css" id="skinCss" />
<link rel="stylesheet" path="<?php echo Yii::app()->theme->baseUrl; ?>/js/artDialog/skins/" type="text/css" id="artDialogCss" />
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/panel.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/artDialog/jquery.artDialog.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/js/artDialog/plugins/iframeTools.js"></script>
</head>

<body>
<div id="top">
    <div class="top_left">
         <div class="top_right">
            <div class="logo"><span>欣和微信</span>管理平台</div>
            <p class="sideBarSwitch"><a href="javascript:void(0);" onclick="sideBarSwitch(this);"><i class="ico icon-arrow-left"></i>隐藏左栏菜单</a></p>
            <ul class="topLinks">
                <li><a target="_dialog" width="480" height="280" rel="pwd" href="<?php echo Yii::app()->createUrl('Member/password',array('id'=>Yii::app()->user->id)); ?>" title="修改密码"><i class="ico ico-pwd"></i>修改密码</a></li>
                <li>｜</li>
                <li><a href="javascript:void(0);"><i class="ico ico-user fl"></i><?php echo CHtml::encode(Yii::app()->user->name); ?></a></li>
                <li>｜</li>
                <li><a href="<?php echo Yii::app()->createUrl('site/logout'); ?>"><i class="ico ico-logout"></i>退出</a></li>
            </ul>
            <div id="tab">
                <div class="tab_line"></div>
                <span id="tab_home" class="on" onclick="changeTab('home');"><i class="ico ico-home"></i><font>我的主页</font></span>
            </div>
        </div>
    </div>
</div>
<div id="left">
    <div class="left_top">
        <div class="left_bottom">
            <div class="menu">
                <ul class="main">
                    <li class="main">
                        <a href="javascript:void(0);" class="main"><i class="ico ico-user"></i>用户管理</a>
                        <ul class="sub">
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Party/admin'); ?>">用户</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Children/admin'); ?>">儿童</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Member/admin'); ?>">操作员</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Auth/admin'); ?>">权限管理</a></li>
                          
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('srbac/authitem/manage'); ?>">权限管理</a></li> 
                           
                        </ul>
                    </li>
                    <li class="main">
                        <a href="javascript:void(0);" class="main"><i class="ico ico-logout"></i>临时短信通知</a>
                        <ul class="sub">
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('SmsSend/admin'); ?>">临时短信通知</a></li>
                        </ul>
                    </li>
                    <li class="main">
                        <a href="javascript:void(0);" class="main"><i class="ico ico-skin"></i>黑名单</a>
                        <ul class="sub">
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Blacklist/admin'); ?>">黑名单</a></li>
                        </ul>
                    </li>
                     <li class="main">
                        <a href="javascript:void(0);" class="main"><i class="ico ico_1"></i>活动管理</a>
                        <ul class="sub">
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Activity/clander'); ?>">活动日历表</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Activity/dictionary'); ?>">字典表</a></li>
<!--                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Carinfo/admin'); ?>">车辆管理</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Position/admin'); ?>">乘车地址</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Staff/admin'); ?>">随车人员</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Crowd/admin'); ?>">人群属性</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Sms/admin'); ?>">短信</a></li>-->
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Sale/admin'); ?>">商品销售记录</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Sale/party'); ?>">用户消费记录</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('SmsLog/admin'); ?>">短信发送日志</a></li>
                        </ul>
                    </li>
                     <li class="main">
                        <a href="javascript:void(0);" class="main"><i class="ico ico-skin"></i>报表分析</a>
                        <ul class="sub">
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Report/admin'); ?>">各个关键指标分析</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Report/property'); ?>">人群属性分析</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Report/data'); ?>">来访人群资料分析</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Report/age'); ?>">来访儿童年龄分析</a></li>
                            <li class="sub"><a class="sub" target="_tab" rel="menu_1" href="<?php echo Yii::app()->createUrl('Report/sale'); ?>">产品销售分析</a></li>
                        </ul>
                    </li>
                  
                 </ul>
            </div>
        </div>
    </div>
</div>
<div id="right">
    <div id="content">
        <iframe id="content_home" frameborder="0" allowtransparency="true" src="<?php echo Yii::app()->createUrl('common/skin'); ?>"></iframe>
    </div>
</div>
</body>
</html>
